using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace TodoistClient
{
    public partial class TokenEntry : Form
    {
        public TokenEntry()
        {
            InitializeComponent();

            textBox1.Text = Properties.Settings.Default.Token;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Properties.Settings.Default.Token = textBox1.Text;
            Properties.Settings.Default.Save();
            this.Close();
        }
    }
}